﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Area.aspx.cs" Inherits="BuXiaChu.OrderDishes.Web.Admin.City.Area" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="Menu" TagName="Header" Src="~/Modules/Menu/Header.ascx" %>
<%@ Register TagPrefix="Menu" TagName="Footer" Src="~/Modules/Menu/Footer.ascx" %>
<%@ Register TagPrefix="Menu" TagName="CityLeft" Src="~/Modules/Menu/CityLeft.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link media="screen, projection" rel="stylesheet" type="text/css" href="/css/Blueprint/screen.css" />
    <link media="screen, projection" rel="stylesheet" type="text/css" href="/css/main.css" />

    <script type="text/javascript" src="/js/Extend.js"></script>

    <script type="text/javascript" src="/js/Common.js"></script>

    <script type="text/javascript" src="/js/jquery-vsdoc.js"></script>

</head>
<body>
    <div class="container">
        <Menu:Header ID="Header1" runat="server" />
        <Menu:CityLeft ID="menu_CityLeft" runat="server" />
        <div class="span-20 last">
         <div class="boxc">
                <a href="AddArea.aspx?areaId=<%=Request.QueryString["areaId"] %>">增加区域</a>
                <a href="Index.aspx">返回</a>
                </div>
                 <div class="boxc">
            <table>
                <tr>
                    <td>
                        区域id
                    </td>
                    <td>
                        区域名称
                    </td>
                    <td>
                        区域编码
                    </td>
                    <td>
                        所属城市
                    </td>
                    <td>
                        备注
                    </td>
                    <td>
                        操作
                    </td>
                </tr>
                <% foreach (var item in areaList)
                   {%>
                <tr>
                    <td>
                        <%= item.Id %>
                    </td>
                    <td>
                        <%= item.Name %>
                    </td>
                    <td>
                        <%= item.CityCode %>
                    </td>
                    <td>
                        <%= HttpUtility.HtmlEncode(parentAreaMode.Name)%>
                    </td>
                    <td>
                        <%= item.Remarks %>
                    </td>
                    <td>
                        <a href="AddArea.aspx?id=<%=item.Id %>&areaId=<%=Request.QueryString["areaId"] %>">修改</a>
                    </td>
                </tr>
                <%} %>
            </table>
            </div>
        </div>
        <Menu:Footer ID="Footer1" runat="server" />
    </div>
</body>
</html>

<script type="text/javascript" src="../js/City/City.js"></script>

